﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013D5 RID: 5077
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyBuildStartStepCsReq : IMessage<TrainPartyBuildStartStepCsReq>, IMessage, IEquatable<TrainPartyBuildStartStepCsReq>, IDeepCloneable<TrainPartyBuildStartStepCsReq>, IBufferMessage
	{
		// Token: 0x17004005 RID: 16389
		// (get) Token: 0x0600E35F RID: 58207 RVA: 0x0025FEDF File Offset: 0x0025E0DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyBuildStartStepCsReq> Parser
		{
			get
			{
				return TrainPartyBuildStartStepCsReq._parser;
			}
		}

		// Token: 0x17004006 RID: 16390
		// (get) Token: 0x0600E360 RID: 58208 RVA: 0x0025FEE6 File Offset: 0x0025E0E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyBuildStartStepCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004007 RID: 16391
		// (get) Token: 0x0600E361 RID: 58209 RVA: 0x0025FEF8 File Offset: 0x0025E0F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyBuildStartStepCsReq.Descriptor;
			}
		}

		// Token: 0x0600E362 RID: 58210 RVA: 0x0025FEFF File Offset: 0x0025E0FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyBuildStartStepCsReq()
		{
		}

		// Token: 0x0600E363 RID: 58211 RVA: 0x0025FF08 File Offset: 0x0025E108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyBuildStartStepCsReq(TrainPartyBuildStartStepCsReq other) : this()
		{
			this.areaId_ = other.areaId_;
			this.nPBHFEFLGJK_ = ((other.nPBHFEFLGJK_ != null) ? other.nPBHFEFLGJK_.Clone() : null);
			this.stepId_ = other.stepId_;
			this.areaGlobalId_ = other.areaGlobalId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E364 RID: 58212 RVA: 0x0025FF6C File Offset: 0x0025E16C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyBuildStartStepCsReq Clone()
		{
			return new TrainPartyBuildStartStepCsReq(this);
		}

		// Token: 0x17004008 RID: 16392
		// (get) Token: 0x0600E365 RID: 58213 RVA: 0x0025FF74 File Offset: 0x0025E174
		// (set) Token: 0x0600E366 RID: 58214 RVA: 0x0025FF7C File Offset: 0x0025E17C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x17004009 RID: 16393
		// (get) Token: 0x0600E367 RID: 58215 RVA: 0x0025FF85 File Offset: 0x0025E185
		// (set) Token: 0x0600E368 RID: 58216 RVA: 0x0025FF8D File Offset: 0x0025E18D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AreaDynamicInfo NPBHFEFLGJK
		{
			get
			{
				return this.nPBHFEFLGJK_;
			}
			set
			{
				this.nPBHFEFLGJK_ = value;
			}
		}

		// Token: 0x1700400A RID: 16394
		// (get) Token: 0x0600E369 RID: 58217 RVA: 0x0025FF96 File Offset: 0x0025E196
		// (set) Token: 0x0600E36A RID: 58218 RVA: 0x0025FF9E File Offset: 0x0025E19E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StepId
		{
			get
			{
				return this.stepId_;
			}
			set
			{
				this.stepId_ = value;
			}
		}

		// Token: 0x1700400B RID: 16395
		// (get) Token: 0x0600E36B RID: 58219 RVA: 0x0025FFA7 File Offset: 0x0025E1A7
		// (set) Token: 0x0600E36C RID: 58220 RVA: 0x0025FFAF File Offset: 0x0025E1AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaGlobalId
		{
			get
			{
				return this.areaGlobalId_;
			}
			set
			{
				this.areaGlobalId_ = value;
			}
		}

		// Token: 0x0600E36D RID: 58221 RVA: 0x0025FFB8 File Offset: 0x0025E1B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyBuildStartStepCsReq);
		}

		// Token: 0x0600E36E RID: 58222 RVA: 0x0025FFC8 File Offset: 0x0025E1C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyBuildStartStepCsReq other)
		{
			return other != null && (other == this || (this.AreaId == other.AreaId && object.Equals(this.NPBHFEFLGJK, other.NPBHFEFLGJK) && this.StepId == other.StepId && this.AreaGlobalId == other.AreaGlobalId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E36F RID: 58223 RVA: 0x00260038 File Offset: 0x0025E238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this.nPBHFEFLGJK_ != null)
			{
				num ^= this.NPBHFEFLGJK.GetHashCode();
			}
			if (this.StepId != 0U)
			{
				num ^= this.StepId.GetHashCode();
			}
			if (this.AreaGlobalId != 0U)
			{
				num ^= this.AreaGlobalId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E370 RID: 58224 RVA: 0x002600BF File Offset: 0x0025E2BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E371 RID: 58225 RVA: 0x002600C7 File Offset: 0x0025E2C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E372 RID: 58226 RVA: 0x002600D0 File Offset: 0x0025E2D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AreaGlobalId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.AreaGlobalId);
			}
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.AreaId);
			}
			if (this.nPBHFEFLGJK_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.NPBHFEFLGJK);
			}
			if (this.StepId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.StepId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E373 RID: 58227 RVA: 0x00260164 File Offset: 0x0025E364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this.nPBHFEFLGJK_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NPBHFEFLGJK);
			}
			if (this.StepId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StepId);
			}
			if (this.AreaGlobalId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaGlobalId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E374 RID: 58228 RVA: 0x002601EC File Offset: 0x0025E3EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyBuildStartStepCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			if (other.nPBHFEFLGJK_ != null)
			{
				if (this.nPBHFEFLGJK_ == null)
				{
					this.NPBHFEFLGJK = new AreaDynamicInfo();
				}
				this.NPBHFEFLGJK.MergeFrom(other.NPBHFEFLGJK);
			}
			if (other.StepId != 0U)
			{
				this.StepId = other.StepId;
			}
			if (other.AreaGlobalId != 0U)
			{
				this.AreaGlobalId = other.AreaGlobalId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E375 RID: 58229 RVA: 0x0026027C File Offset: 0x0025E47C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E376 RID: 58230 RVA: 0x00260288 File Offset: 0x0025E488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 64U)
					{
						this.AreaGlobalId = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.AreaId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						if (this.nPBHFEFLGJK_ == null)
						{
							this.NPBHFEFLGJK = new AreaDynamicInfo();
						}
						input.ReadMessage(this.NPBHFEFLGJK);
						continue;
					}
					if (num == 112U)
					{
						this.StepId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040059F9 RID: 23033
		private static readonly MessageParser<TrainPartyBuildStartStepCsReq> _parser = new MessageParser<TrainPartyBuildStartStepCsReq>(() => new TrainPartyBuildStartStepCsReq());

		// Token: 0x040059FA RID: 23034
		private UnknownFieldSet _unknownFields;

		// Token: 0x040059FB RID: 23035
		public const int AreaIdFieldNumber = 10;

		// Token: 0x040059FC RID: 23036
		private uint areaId_;

		// Token: 0x040059FD RID: 23037
		public const int NPBHFEFLGJKFieldNumber = 12;

		// Token: 0x040059FE RID: 23038
		private AreaDynamicInfo nPBHFEFLGJK_;

		// Token: 0x040059FF RID: 23039
		public const int StepIdFieldNumber = 14;

		// Token: 0x04005A00 RID: 23040
		private uint stepId_;

		// Token: 0x04005A01 RID: 23041
		public const int AreaGlobalIdFieldNumber = 8;

		// Token: 0x04005A02 RID: 23042
		private uint areaGlobalId_;
	}
}
